package com.aidex.biz.mapper;

import com.aidex.biz.domain.LoanBill;
import com.aidex.common.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

/**
 * 还款信息Mapper接口
 *
 * @author sean
 * @email 2074844820@qq.com
 * @date 2025-07-03
 */
public interface LoanBillMapper extends BaseMapper<LoanBill> {

    /**
     * 批量删除还款信息
     *
     * @param ids 需要删除的还款信息ID集合
     * @return
     */
    public int deleteLoanBillByIds(String[] ids);

    /**
     * 获取最大编号
     *
     * @param loanBill 还款信息
     * @return 结果
     */
    public Integer findMaxSort(LoanBill loanBill);

    public int updateOverDue(@Param("id") String id);

    public LoanBill findOne(LoanBill loanBill);

    public int deleteById(@Param("id") String id);
}
